import 'package:flutter_ahj_app/app/NewMine/AccountModel.dart';
import 'package:flutter_ahj_app/base/basewidget/viewmodel/BaseViewModel.dart';

class AccountViewModel extends BaseViewModel<AccountModel> {
  @override
  AccountModel get initModel => AccountModel();

  Stream<Map> changePasswordDataStream() => model.changePasswordDataStream;
  changePassword(Map map) {
    return model.changePassword(map);
  }

  Stream<Map> getUserInfoDataStream() => model.getUserInfoDataStream;
  getUserInfo() {
    return model.getUserInfo();
  }

  Stream<Map> gettenantDataStream() => model.gettenantDataStream;
  tenantApprove() {
    return model.tenantApprove();
  }

  Stream<Map> getCodeDataStream() => model.getCodeDataStream;
  getCode(Map map) {
    return model.getCode(map);
  }

  Stream<Map> checkCodeDataStream() => model.checkCodeDataStream;
  checkCode(Map map) {
    return model.checkCode(map);
  }

  Stream<Map> resetPasswordStream() => model.resetPasswordStream;
  resetPassword(Map map) {
    return model.resetPassword(map);
  }

  Stream<Map> loginOutStream() => model.loginOutStream;
  loginOut() {
    return model.loginOut();
  }

  Stream<Map> qyxxStream() => model.qyxxStream;
  qyxx() {
    return model.qyxx();
  }

  Stream<Map> qhsfStream() => model.qhsfStream;
  qhsf(var tenantId) {
    return model.qhsf(tenantId);
  }
}
